package com.cskaoyan.service.wx;

import com.cskaoyan.bean.po.MarketCart;
import com.cskaoyan.bean.vo.wx.CartIndexVo;
import com.cskaoyan.bean.vo.wx.WxCartAddBo;
import com.cskaoyan.bean.vo.wx.WxCartCheckedBo;
import com.cskaoyan.bean.vo.wx.WxCartCheckoutVo;

public interface WxCartService {
    Integer addCart(Integer id, WxCartAddBo wxCartAddBo);

    CartIndexVo index(Integer userId);

    Integer checked(WxCartCheckedBo wxCartCheckedBo);

    Integer update(MarketCart marketCart);

    Integer goodscount(int id);

    Integer delete(Integer userId,WxCartCheckedBo wxCartCheckedBo);

    WxCartCheckoutVo checkout(Integer userId,Integer cartId, Integer addressId, Integer couponId, Integer userCouponId, Integer grouponRulesId,Short goodsNum);
}
